package cn.tedu.entity;

/**
 * <pre>
 *      Cart的实体类.
 *
 *      通过goodsID可知:查询当前内容需要通过GoodsID再查商品信息.
 *      需要再创建Goods的实体类.并实现能通过GoodsID查询商品详情.
 * </pre>
 *
 * @author restyhap
 * @since 2019-11-04 11:40
 */
public class Cart {
    private int id ;
    private String goodsId;
    private int userId;
    private int count;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }
}
